package cn.lili.timetask.handler.impl.distribution;

import cn.lili.modules.distribution.client.DistributionClient;
import cn.lili.timetask.handler.EveryDayExecute;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@RequiredArgsConstructor
public class DistributionEveryDayTaskExecute implements EveryDayExecute {


    private final DistributionClient distributionClient;

    @Override
    public void execute() {
        distributionClient.updateDistributionAmount();
    }
}
